<?php
/*
- author: dkloz
- Returns the information of the user with id "id" (captain obvious :P)
- Returns null on lame id, user class on success
- STATUS: COMPLETE
*/

function BL_getUserData($id)
{
    $user = DB_getUserData($id);

    if ((!is_object($user)) && ($user < 0)) {
        return BL_GET_USER_DATA;
    }

    return $user; //everything went ok
}
?>